#ifndef BANK_TRANSACTOR_H
#define BANK_TRANSACTOR_H

#include <iostream>
#include <limits.h>
#include <list>
#include <queue>
#include "bank.h"
#include "my_thread_class.h"
#include "client.h"
#include "random_generator.h"

using namespace std;

class Bank_Transactor {
	public:
		Bank_Transactor ();
		~Bank_Transactor ();

		void run ();

	private:
		void get_num_clients ();
		void get_num_accounts ();
		void get_num_transactions_per_client ();
		int get_account_amount ();
		bool is_integer (string);
		bool is_digit (char);
		bool ask_seed_random ();
		long get_seed ();
		void * foo (void *);

		int num_threads;
		int num_accounts;
		int num_transactions;
		int max_num_threads;

		Random_Generator * random;
};

#endif
